package cn.yuanqiao.archive.storeRoom.domain;

import cn.yuanqiao.common.annotation.Excel;
import cn.yuanqiao.common.annotation.IdAnnotation;
import cn.yuanqiao.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * SafetyCheck对象 YQDAYSAFTLY
 * 
 * @author xy
 * @date 2023-06-15
 */
public class SafetyCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @IdAnnotation
    private Long id;

    private String ids;
    /** 库房名称 */
    @Excel(name = "库房名称")
    private String storeName;

    /** 库房Id */
/*
    @Excel(name = "库房Id")
*/
    private String storeId;

    /** 库房管理员 */
    private String manager;

    @Excel(name = "库房管理员")
    private String managerUser;
    /** 检查时间 */
    @Excel(name = "检查时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String checkTime;

    /** 检查类型 */
    private Integer checkType;
    @Excel(name = "检查类型")
    private String checkLx;
    /** 安全情况 */
    @Excel(name = "安全状况")
    private String saft;

    /** 采取措施 */
    @Excel(name = "采取措施")
    private String measures;

    /** 备注 */
/*
    @Excel(name = "备注")
*/
    private String beizhu;

    /** 是否删除 */
/*
    @Excel(name = "是否删除")
*/
    private Integer isDel;
    /** 创建人 */
/*
    @Excel(name = "创建人")
*/
    private Long creator;

    private String keyword;



    private String edCheckTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /** 最后修改人 */
/*
    @Excel(name = "最后修改人")
*/
    private Long lastUpdater;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastupdateTime;



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }



    public String getCheckTime() 
    {
        return checkTime;
    }
    public void setCheckType(Integer checkType) 
    {
        this.checkType = checkType;
    }

    public Integer getCheckType() 
    {
        return checkType;
    }
    public void setSaft(String saft) 
    {
        this.saft = saft;
    }

    public String getSaft() 
    {
        return saft;
    }
    public void setMeasures(String measures) 
    {
        this.measures = measures;
    }

    public String getMeasures() 
    {
        return measures;
    }
    public void setBeizhu(String beizhu) 
    {
        this.beizhu = beizhu;
    }

    public String getBeizhu() 
    {
        return beizhu;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public void setCheckTime(String checkTime) {
        this.checkTime = checkTime;
    }

    public Long getCreator() {
        return creator;
    }

    public void setCreator(Long creator) {
        this.creator = creator;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLastUpdater() {
        return lastUpdater;
    }

    public void setLastUpdater(Long lastUpdater) {
        this.lastUpdater = lastUpdater;
    }

    public Date getLastupdateTime() {
        return lastupdateTime;
    }

    public void setLastupdateTime(Date lastupdateTime) {
        this.lastupdateTime = lastupdateTime;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public String getCheckLx() {
        return checkLx;
    }

    public void setCheckLx(String checkLx) {
        this.checkLx = checkLx;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getManagerUser() {
        return managerUser;
    }

    public void setManagerUser(String managerUser) {
        this.managerUser = managerUser;
    }

    public String getEdCheckTime() {
        return edCheckTime;
    }

    public void setEdCheckTime(String edCheckTime) {
        this.edCheckTime = edCheckTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("storeName", getStoreName())
            .append("manager", getManager())
            .append("checkTime", getCheckTime())
            .append("checkType", getCheckType())
            .append("saft", getSaft())
            .append("measures", getMeasures())
            .append("beizhu", getBeizhu())
            .append("isDel", getIsDel())
            .append("storeId", getStoreId())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("lastUpdater", getLastUpdater())
            .append("lastupdateTime", getLastupdateTime())
            .append("ids", getIds())
            .toString();
    }
}
